home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-06-18 | 1.6 KB | 95 lines |
- #
- # makefile for the Fortran PHIGS Toolkit library.
- # J.G. Williams 6/92
- #
-
- OBJECTS = tran.o hash.o plib.o menu.o phin.o tsl.o cns.o \
- topo.o stct.o wind.o misc.o dbug.o view.o ftoc.o
-
- SRCDIR = ../source/library/
-
- #DBG = -g
- DBG =
-
- PHIGSINCDIR = $(PHIGSHOME)/include/phigs
-
- FFLAGS = -c $(DBG)
- CFLAGS = -c $(DBG) -DSUN -I../../include -I$(PHIGSINCDIR)
-
- libptk77.a: libptk77.a($(OBJECTS))
- ar rcv $@ $?
- ranlib $@
-
- libptk77.a(tran.o): tran.o
-
- tran.o: $(SRCDIR)tran.f
- f77 $(FFLAGS) $@ $(SRCDIR)tran.f
-
- libptk77.a(hash.o): hash.o
-
- hash.o: $(SRCDIR)hash.f
- f77 $(FFLAGS) $@ $(SRCDIR)hash.f
-
- libptk77.a(plib.o): plib.o
-
- plib.o: $(SRCDIR)plib.f
- f77 $(FFLAGS) $@ $(SRCDIR)plib.f
-
- libptk77.a(menu.o): menu.o
-
- menu.o: $(SRCDIR)menu.f
- f77 $(FFLAGS) $@ $(SRCDIR)menu.f
-
- libptk77.a(phin.o): phin.o
-
- phin.o: $(SRCDIR)phin.f
- f77 $(FFLAGS) $@ $(SRCDIR)phin.f
-
- libptk77.a(tsl.o): tsl.o
-
- tsl.o: $(SRCDIR)tsl.f
- f77 $(FFLAGS) $@ $(SRCDIR)tsl.f
-
- libptk77.a(cns.o): cns.o
-
- cns.o: $(SRCDIR)cns.f
- f77 $(FFLAGS) $@ $(SRCDIR)cns.f
-
- libptk77.a(topo.o): topo.o
-
- topo.o: $(SRCDIR)topo.f
- f77 $(FFLAGS) $@ $(SRCDIR)topo.f
-
- libptk77.a(stct.o): stct.o
-
- stct.o: $(SRCDIR)stct.f
- f77 $(FFLAGS) $@ $(SRCDIR)stct.f
-
- libptk77.a(wind.o): wind.o
-
- wind.o: $(SRCDIR)wind.f
- f77 $(FFLAGS) $@ $(SRCDIR)wind.f
-
- libptk77.a(misc.o): misc.o
-
- misc.o: $(SRCDIR)misc.f
- f77 $(FFLAGS) $@ $(SRCDIR)misc.f
-
- libptk77.a(dbug.o): dbug.o
-
- dbug.o: $(SRCDIR)dbug.f
- f77 $(FFLAGS) $@ $(SRCDIR)dbug.f
-
- libptk77.a(view.o): view.o
-
- view.o: $(SRCDIR)view.f
- f77 $(FFLAGS) $@ $(SRCDIR)view.f
-
- libptk77.a(ftoc.o): ftoc.o
-
- ftoc.o: $(SRCDIR)ftoc.c
- cc $(CFLAGS) $@ $(SRCDIR)ftoc.c
-
- clean:
- rm -f $(OBJECTS)
-